package com.ruoyi.movie.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 视频详情对象 video
 *
 * @author ruoyi
 * @date 2025-10-28
 */
public class Video extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 视频ID */
    private Integer videoId;

    /** 标题 */
    private String title;

    /** 视频地址 */
    private String url;

    /** 封面图 */
    private String poster;

    /** 文件名 */
    private String name;

    /** 路径 */
    private String path;

    /** 时长(秒) */
    private Integer duration;

    /** 高度 */
    private Integer height;

    /** 宽度 */
    private Integer width;

    /** 文件大小 */
    private Integer size;

    public Integer getVideoId()
    {
        return videoId;
    }

    public void setVideoId(Integer videoId)
    {
        this.videoId = videoId;
    }

    public String getTitle()
    {
        return title;
    }

    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getUrl()
    {
        return url;
    }

    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getPoster()
    {
        return poster;
    }

    public void setPoster(String poster)
    {
        this.poster = poster;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getPath()
    {
        return path;
    }

    public void setPath(String path)
    {
        this.path = path;
    }

    public Integer getDuration()
    {
        return duration;
    }

    public void setDuration(Integer duration)
    {
        this.duration = duration;
    }

    public Integer getHeight()
    {
        return height;
    }

    public void setHeight(Integer height)
    {
        this.height = height;
    }

    public Integer getWidth()
    {
        return width;
    }

    public void setWidth(Integer width)
    {
        this.width = width;
    }

    public Integer getSize()
    {
        return size;
    }

    public void setSize(Integer size)
    {
        this.size = size;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("videoId", getVideoId())
            .append("title", getTitle())
            .append("url", getUrl())
            .append("poster", getPoster())
            .append("name", getName())
            .append("path", getPath())
            .append("duration", getDuration())
            .append("height", getHeight())
            .append("width", getWidth())
            .append("size", getSize())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}